package yl.hs.bmipfull.controllers.vehiclemanage;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import yl.hs.bmipfull.controllers.ControllerBase;
import yl.hs.bmipfull.utils.CK;
import yl.hs.bmipfull.viewmodels.WebResult;

/**
 * 作用:   <br/>
 * 创建时间: 2022-08-13 14:36 <br/>
 *
 * @author 吴高丰
 */
@Api(value = "车辆信息Web接口", tags = "运输管理——车辆定位信息操作")
@RestController
@RequestMapping(value = "api/gps")
public class TruckInfoGpsController extends ControllerBase {
    @RequestMapping(value = "/getlocation",method = RequestMethod.GET)
    public WebResult  carLocation(){
        var result = CK.locationCar;
        return  success("查询成功",result);
    }
}
